//
//  FSFileManager.h
//  Generic-Project
//
//  Created by Hequn on 12-8-9.
//
//

#import <Foundation/Foundation.h>

@interface FSFileManager : NSObject

+(FSFileManager*)shareFlManager;


-(BOOL)checkFileExistAndCreate:(NSString*)filePath;

-(BOOL)writeFileToPath:(NSString*)path fileData:(id)fData;

-(BOOL)writeFileToDocumentWithName:(NSString*)fileName fileData:(id)fileData;

-(id)readFileFromFilePath:(NSString*)path fileData:(id)fData;

-(id)readFileFromDocument:(NSString*)fileName fileData:(id)fData;

@end
